package com.example.model.acl.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("acl_user_role")
@ApiModel(value = "acl_user_role对象",description = "acl用户角色表")
public class Acl_user_role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private String id;

    @TableField(value = "rid")
    @ApiModelProperty(value = "角色ID")
    private String rid;

    @TableField(value = "uid")
    @ApiModelProperty(value = "用户ID")
    private String uid;
}
